home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960209-19960425 / 000020_news@columbia.edu _Wed Feb 14 10:26:06 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (apakabar.cc.columbia.edu [128.59.35.159]) by watsun.cc.columbia.edu (8.7.3/8.7.3) with ESMTP id KAA27289 for <kermit.misc@watsun>; Wed, 14 Feb 1996 10:26:04 -0500 (EST)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.3/8.7.3) id KAA19141 for kermit.misc@watsun; Wed, 14 Feb 1996 10:26:02 -0500 (EST)
  4. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: Kermit - Escaping to local mode in batch mode. URGENT!
  8. Date: 14 Feb 1996 15:25:42 GMT
  9. Organization: Columbia University
  10. Lines: 36
  11. Message-ID: <4fsutm$ilp@apakabar.cc.columbia.edu>
  12. References: <4fqncp$mkk@igate2.pt.cyanamid.com>
  13. NNTP-Posting-Host: watsun.cc.columbia.edu
  14.  
  15. In article <4fqncp$mkk@igate2.pt.cyanamid.com>,
  16. Bala Balakrishnan  <balakrishnanb@cyanamid.com> wrote:
  17. : I am trying to write a shell script which will use kermit for file 
  18. : transfer in non-interactive mode. Kermit will be used to connect from a 
  19. : unix machine to a OS/2 which will be placed in "Send" mode. At that point 
  20. : I have to "Escape" back to my local kermit and issue a "receive" command 
  21. : to get the file.
  22. : When I automate this using the kermit "input" and "output" commands to 
  23. : connect and then get the files, it works fine until I reach a point where 
  24. : I have to "escape" back to the local kermit. I tried sending the 
  25. : following escape sequences 
  26. : output \28C      OR
  27. : output \28\28C   OR
  28. : \28C
  29. : \28\28C
  30. : but nothing seems to work. I have to terminate the script. Can anyone 
  31. : tell me what's the problem here. Yes! I did purchase the book "C-kermit" 
  32. : but I haven't been able to find the solution as yet. I need to get this 
  33. : resolved as quickly as possible. I would be immensely greatful if anyone 
  34. : can help me fast.
  35. Please purchase the manual, "Using C-Kermit", and read the chapters about
  36. script programming.  There you will learn that you should not put the
  37. CONNECT command in your script, but rather you should be using INPUT and
  38. OUTPUT throughout.  This is probably the most fundamental principal of
  39. Kermit script programming.
  40.  
  41. Incidentally, if you are connecting from Unix to OS/2, you probably won't
  42. be able to use OS/2 C-Kermit in "remote mode" (see manual) as you seem to
  43. expect.  You would do better to initiate the process from the OS/2 end,
  44. if you have that choice, or else you'll need to leave OS/2 C-Kermit
  45. running in server mode and waiting for an incoming connection.
  46.  
  47. - Frank